package com.example.yuncang.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("xmut_user")
public class User {
    //@TableId("id")
    private int id;

   // @TableField("account")
    private String account;

   // @TableField("name")
    private String name;

    //@TableField("password")
    private String password;
   // @TableField("role")
    private int role;  //0:超级管理员   1：管理员   2：用户
   // @TableField("phone")
    private String phone;
   // @TableField("sex")
    private int sex;
    //@TableField("age")
    private int age;
}
